package cn.mesmile.excel.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.swing.plaf.basic.BasicTreeUI;

/**
 * @author zb
 * @date 2021/4/21 15:03
 * @Description
 */
@Data
@TableName("employee")
public class Employee {

    @ExcelProperty("id")
    @TableId(type= IdType.AUTO)
    private Long id;

    private Integer a;

    private Integer b;

    private String c;

    public Employee(){}

    public Employee(Integer a, Integer b, String c){
        this.a = a;
        this.b = b;
        this.c = c;
    }

}
